<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

/*登录注册*/
Route::any('login', 'index/login/login');
Route::get('logout', 'index/login/logout');
Route::post('signin', 'index/login/signin');
Route::post('reset', 'index/login/reset');
Route::post('sendEmail', 'index/login/sendEmail');

/*初始化*/
Route::get('init_json', 'index/index/init_json');
Route::get('getMembers', 'index/index/getMembers');
Route::any('uploadImg', 'index/index/uploadImg');
Route::any('uploadFile', 'index/index/uploadFile');

/*用户信息编辑*/
Route::post('editSign', 'index/user/editSign');
Route::get('showUserInfo','index/user/getUserInfo');
Route::post('saveUserInfo','index/user/saveUserInfo');

/*聊天记录*/
Route::get('getChatLog','index/index/getChatLog');
Route::get('historyChatLog','index/chatLog/index');
Route::post('setAlreadyRead','index/index/setAlreadyRead');

return [

];
